package com.example.ceramics.database.dao;

import com.example.ceramics.entity.UserEntity;

import java.util.List;

public interface IUserDao {
    int addUser(UserEntity user);
    int deleteUser(String account);
    int updateAddress(UserEntity user);
    int updateInfo(UserEntity user);
    boolean hasAccount(String account);
    List<UserEntity> listAllUser();
    boolean login(String account,String password);
    UserEntity getUser(String account);
}
